<ion-view view-title="{{language == 0?'快捷登录':'SMS Sign In'}}">
  <ion-content class="normal_box bg" overflow-scroll="false">
    
    <div class="login_box">
      
      <div class="login_content">
        <p class="login_title">{{language==0?'快捷登录':'SMS Sign In'}}</p>

        <div class="login_line mt26 pr100">
          <!-- <span class="login_line_span">手机</span> -->
          <p class="login_input pd8_0_12">
            <input type="text" ng-model="user.phone" ng-change="check_phone()" placeholder="{{language==0?'手机':'Phone'}}"/>
          </p>
          <button class="login_line_span1 nomargin nopadding" ng-class="{'f12_i':language == 1}" ng-hide="post_code == 1" ng-disabled="getcode != 1" ng-click="postCode()">{{language==0?'发送验证码':'Send SMS Code'}}</button>
          <span class="login_line_span1" ng-if="post_code == 1&&language == 0">{{time>0?time+'s后重发':''}}</span>
          <span class="login_line_span1 f12_i" ng-if="post_code == 1&&language == 1">{{time>0?'Resend after '+time+'s':''}}</span>
        </div>

        <div class="login_line mt26">
          <!-- <span class="login_line_span">验证码</span> -->
          <p class="login_input pd8_0_12">
            <input type="number" ng-model="user.token" placeholder="{{language==0?'验证码':'SMS Code'}}"/>
          </p>
        </div>

        <p class="login_footer mt40"><button ng-click="login()" ng-disabled="!user.phone||!user.token" class="bg_white_0">{{language==0?'登录':'Sign In'}}</button></p>

      </div>

    </div>

  </ion-content>
</ion-view>